package com.applet.mallappletbackstage.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * (Collect)表实体类
 *
 * @author makejava
 * @since 2020-08-17 10:06:00
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuppressWarnings("serial")
public class Collect extends Model<Collect> implements Serializable {

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String user;

    private String work;

    private String typeOfWork;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
}
